package cn.star.jots.subject.pojo.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.FieldDefaults;

import java.util.Date;

@Data
@FieldDefaults(level = lombok.AccessLevel.PRIVATE)
public class SubjectVO {
    @ApiModelProperty(value = "专题id")
    Long id;
    @ApiModelProperty(value = "专题名称")
    String subjectName;
    @ApiModelProperty(value = "专题描述")
    String description;
    @ApiModelProperty(value = "专题海报")
    String poster;
    @ApiModelProperty(value = "创建时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date createTime;
    @ApiModelProperty(value = "更新时间")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    Date updateTime;
}
